TOPDIR := $(abspath ../../..)
LOCAL_PATH := $(abspath .)

include $(TOPDIR)/build/build_config.mak

include $(CLEAR_VARS)
LOCAL_SUB_DIRS := $(LOCAL_PATH)/libsimple_unit_test

include $(BUILD_SUB_DIRS)

################################################################
#build shared library
################################################################
include $(CLEAR_VARS)

LOCAL_SRCS := $(shell find . -maxdepth 1 -name '*.c' -o -name '*.cpp')
LOCAL_C_INCLUDES := $(LOCAL_PATH)/libsimple_unit_test \
					$(TOPDIR)/vos/include \
					$(TOPDIR)/general_inc
					
LOCAL_COMMON_FLAGS := -D_GNU_SOURCE 
LOCAL_MODULE := unit_test
LOCAL_LDFLAGS := -lm -ldl -lstdc++ 
#LOCAL_STATIC_LIBS :=  
LOCAL_SHARED_LIBS := libvos libsimple_unit_test
include $(BUILD_EXECUTABLE)

